//
//  PictureCache.h
//  Emoticon
//
//  Created by ytkjs2 on 2020/4/3.
//  Copyright © 2020 ytk. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface PictureCache : NSObject
+ (PictureCache *)sharedDataBase;

-(void)insertEmoticonChannerModel:(PicModel * )model;

-(BOOL)isExistEmoticonWithChannelId:(int)image_id;

-(void)deleteEmoticonWithChannelId:(int)image_id;

-(NSArray *)selectEmoticon;



-(void)insertPaperChannerModel:(PicModel * )model;

-(BOOL)isExistPaperWithChannelId:(int)image_id;

-(void)deletePaperWithChannelId:(int)image_id;

-(NSArray *)selectAllPaper;



-(void)insertLoverChannerModel:(LoverPicModel * )model;

-(BOOL)isExistLoverWithChannelId:(int)image_id;

-(void)deleteLoverWithChannelId:(int)image_id;

-(NSArray *)selectAllLover;




-(void)insertSearchModel:(SearchModel * )model;

-(BOOL)isExistSearchWithChannelId:(NSString *)_id;

-(void)deleteSearchWithChannelId:(NSString *)_id;

-(NSArray *)selectAllSearch;






-(void)insertSearchBagListModelModel:(SearchBagListModel * )model;

-(BOOL)isExistSearchBagListWithChannelId:(NSString *)_id;

-(void)deleteSearchBagWithChannelId:(NSString *)_id;

-(NSArray *)selectAllSearchBag;

@end

NS_ASSUME_NONNULL_END
